import request from "../utils/request"

/**
 * 文章评论请求API
 */

// 发布评论
export const publishArticleComment = data => {
    return request({
        method: 'POST',
        url: '/publishArticleComment',
        data: data
    })
}

// 加载评论数据
export const queryCommentByArticle = data => {
    return request({
        method: 'GET',
        url: '/queryCommentByArticle',
        params: data
    })
}
